package task1;

import java.util.ArrayList;
import java.util.Scanner;

public class work7_2 {

    static  Scanner input=new Scanner(System.in);

    public static void main(String[] args) {//相同数字的最大连续子序列

        String[] array=input.nextLine().split(" ");
    }

    private static long find(String[] array) {

        long max=0;
        long count=1;

        for(int i=0;i<array.length-1;i++){

            if(array[i].equals(array[i+1]))
                count++;
            else{
                max=StrictMath.max(max,count);
                count=1;
            }
        }
        max=Math.max(count,max);
        return max;
    }
}
